package colbert.content.constructSys;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class JD implements Switch {
    private String name;
    private boolean status = false;
    public JD(String name) {
        this.name = name;
    }
    @Override
    public void press() {
        status = !status;
    }
}
